	package net.seehealth.healthpad.ui;

import net.seehealth.healthpad.R;
import net.seehealth.healthpad.application.adapter.GridViewAdapter;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;

public class HealthApplicationsActivity extends GridViewActivity{
	
	@Override
	protected void initData() {
		mTitle.setText("健康应用");
		
		int[] ids = new int []{1,1,1,1,1,1,1,1};
		String[] contents = {"","","","","","","",""};
		int[] imgs = new int[] { R.drawable.gridview_appointment_register,
				R.drawable.gridview_weight_index, R.drawable.gridview_waist_to_hip_ratio,
				R.drawable.gridview_chronic_disease_risk_assessment, R.drawable.gridview_psychological_evaluation,
				R.drawable.gridview_traditional_chinese_medicine_constitution, R.drawable.gridview_body_fat_content,
				R.drawable.gridview_motion_heart_rate};
		
		mGridViewAdapter = new GridViewAdapter(this, contents, imgs, ids, false);
		mGridView.setAdapter(mGridViewAdapter);
		mGridView.setOnItemClickListener(onItemClick);
	}
 
	OnItemClickListener onItemClick = new OnItemClickListener() {

		@Override
		public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,
				long arg3) {
		}
	};
}
